package com.lmy.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lmy.common.utils.PageUtils;
import com.lmy.product.entity.BrandEntity;
import com.lmy.product.entity.CategoryBrandRelationEntity;


import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author lmy
 * @email lmy06091@163.com
 * @date 2024-01-13 15:44:49
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils catelogList(Map<String, Object> params, Long brandId);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    void udpateBrand(BrandEntity brand);

    void updateCategory(Long catId, String name);

    List<BrandEntity> getBrandRelation(Long catId);
}

